<?php

error_reporting(E_All);

require_once 'common.php';

$config = RP . "inc/configs/main.php";

$app = App::getInstance();
$app->config($config);
//$app->run();

App::db();
Doctrine_Core::generateModelsFromDb(RP . 'tmp/doctrine/', array('doctrine'), array('generateTableClasses' => true));